package com.icemelon.catdog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.icemelon.catdog.pojo.UserDetails;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserDetailsMapper extends BaseMapper<UserDetails> {

    @Select("SELECT * FROM user_details where id=#{id}")
    List<UserDetails> selectUserDetailsById(Integer id);
}